| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

EnvironmentManager.h
1 // EnvironmentManager.h
3 //
5
6 namespace nkScripts
7 {
15 class EnvironmentManager final : public nkCommon::SingletonClass<EnvironmentManager>
16 {
17 public :
18
27 Environment* createOrRetrieve (nkMemory::StringView name) ;
34 Environment* get (nkMemory::StringView name) ;
43 Environment* getByIndex (unsigned int id) ;
50 void rename (nkMemory::StringView currentName, nkMemory::StringView newName) ;
56 void erase (nkMemory::StringView name) ;
57 } ;
58 }
59
nkScripts::EnvironmentManager::get
Environment * get(nkMemory::StringView name)
nkScripts::EnvironmentManager::createOrRetrieve
Environment * createOrRetrieve(nkMemory::StringView name)
nkScripts::Environment
Defines an environment in which scripts can execute.
Definition: Environment.h:14
nkScripts
Encompasses all API of component NilkinsScripts.
Definition: Environment.h:7
nkScripts::EnvironmentManager::rename
void rename(nkMemory::StringView currentName, nkMemory::StringView newName)
nkScripts::EnvironmentManager
Manages the environments available.
Definition: EnvironmentManager.h:16
nkMemory::StringView
Class holding information about a string, with no ownership over the data.
Definition: StringView.h:22
nkScripts::EnvironmentManager::getByIndex
Environment * getByIndex(unsigned int id)
nkScripts::EnvironmentManager::erase
void erase(nkMemory::StringView name)